package com.lxmes.sales.mapper;

import java.util.List;

import com.lxmes.common.annotation.DataScope;
import com.lxmes.sales.domain.ZcSupplierRegistration;

/**
 * 供方注册及审核Mapper接口
 *
 * @author lx
 * @date 2023-06-21
 */
public interface ZcSupplierRegistrationMapper
{
    /**
     * 查询供方注册及审核
     *
     * @param id 供方注册及审核主键
     * @return 供方注册及审核
     */
    public ZcSupplierRegistration selectZcSupplierRegistrationById(Long id);

    /**
     * 查询供方注册及审核列表
     *
     * @param zcSupplierRegistration 供方注册及审核
     * @return 供方注册及审核集合
     */
    @DataScope(deptAlias = "de", userAlias = "de")
    public List<ZcSupplierRegistration> selectZcSupplierRegistrationList(ZcSupplierRegistration zcSupplierRegistration);

    /**
     * 新增供方注册及审核
     *
     * @param zcSupplierRegistration 供方注册及审核
     * @return 结果
     */
    public int insertZcSupplierRegistration(ZcSupplierRegistration zcSupplierRegistration);

    /**
     * 修改供方注册及审核
     *
     * @param zcSupplierRegistration 供方注册及审核
     * @return 结果
     */
    public int updateZcSupplierRegistration(ZcSupplierRegistration zcSupplierRegistration);

    /**
     * 删除供方注册及审核
     *
     * @param id 供方注册及审核主键
     * @return 结果
     */
    public int deleteZcSupplierRegistrationById(Long id);

    /**
     * 批量删除供方注册及审核
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZcSupplierRegistrationByIds(Long[] ids);
}
